import Vue from 'vue'
import { Container, Row, Col, Button, Header, Main, Card, Dropdown, Select, Option, Form, FormItem, Input, MessageBox, Message } from 'element-ui'
import App from './App.vue'
import axios from './http'
import router from './router'

Vue.use(Container)
Vue.use(Row)
Vue.use(Col)
Vue.use(Button)
Vue.use(Header)
Vue.use(Main)
Vue.use(Card)
Vue.use(Dropdown)
Vue.use(Select)
Vue.use(Option)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Input)

Vue.prototype.$axios = axios
Vue.prototype.$message = Message
Vue.prototype.$msgbox = MessageBox

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  render: h => h(App)
})
